package com.yk.i_wms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yk.i_wms.model.PdtBom;
import com.yk.i_wms.vo.BomTreeVO;

import java.util.List;
import java.util.Map;

/**
 * BOM

 *
 * @author hbq
 * @date 2021-03-29 16:32:54
 */
public interface IPdtBomService extends IService<PdtBom> {
    /**
     * 列表
     * @param params
     * @return
     */
    Page<Map> findList(Map<String, Object> params);

    List<PdtBom> getMinSonList(String modelCode);

    List<BomTreeVO> getTreeListByModelCode(String modelCode);

    List<PdtBom> getRootListByModelCode(String modelCode);
}

